package com.hbnu.system.service.impl;

import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hbnu.system.mapper.Awardtype2Mapper;
import com.hbnu.system.model.entity.Award_Type2;
import com.hbnu.system.service.IAwardType2Service;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AwardType2ServiceImpl extends ServiceImpl<Awardtype2Mapper, Award_Type2> implements IAwardType2Service {
    @Override
    public List<Award_Type2> getAwardType2Lists() {
        List<Award_Type2> award_type2s = baseMapper.selectList(Wrappers.lambdaQuery(Award_Type2.class));
//        System.out.println(award_type2s);
        return award_type2s;
    }
}
